import { createStore } from "vuex";

export default createStore({
  state: {
    sname: "李四",
    sage: 22,
  },
  getters: {},
  mutations: {
    setSName(state, val) {
      state.sname = val;
    },
    setSAge(state, val) {
      state.sage = val;
    },
  },
  actions: {},
  modules: {},
});
